<html ng-app="starter">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title>班组管理系统</title>
  <script type="text/javascript" src="jquery.min.js"></script>
  <script type="text/javascript" src="jsqrcode-combined.min.js"></script>
  <script type="text/javascript" src="html5-qrcode.js"></script>

  </head>
  
  <body >
    <div id="reader" style="width:300px;height:250px"></div>
   
  </body>
   <script>
     $('#reader').html5_qrcode(function(data){
       alert(data);
        // do something when code is read
      },
      function(error){
        //alert(error);
        //show read errors 
      }, function(videoError){
       // alert(videoError);
        //the video stream could be opened
      }
    );
   </script>
  </html>